package com.smartao.core.info.server;

import java.util.Properties;

/**
 * Weblogic 相关容器配置，未测试
 * @author Ricky
 */
public class Weblogic extends AppServer {

	private static Properties prop = new Properties();

	static {
		prop.put("java.naming.factory.initial", "weblogic.jndi.WLInitialContextFactory");
		prop.put("java.naming.provider.url", "t3://localhost:7001");
	}

	public Weblogic() {
		super(prop);
		this.serverInfo="Oracle Weblogic 10.3";
	}

	@Override
	public String getJndiName(String JndiName) {
		return JndiName;
	}

	@Override
	public String getTransactionManagerName() {
		return "org.hibernate.transaction.WeblogicTransactionManagerLookup";
	}

	@Override
	public String getServerHomeDir() {
		// TODO Auto-generated method stub
		return null;
	}

}
